[INFO] cloning repository https://github.com/GrSpirit/rust_calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GrSpirit/rust_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrSpirit%2Frust_calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrSpirit%2Frust_calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 982432986d56be0e14bdd948cb1e31955f943e1e
[INFO] checking GrSpirit/rust_calculator against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrSpirit%2Frust_calculator" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GrSpirit/rust_calculator on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GrSpirit/rust_calculator
[INFO] finished tweaking git repo https://github.com/GrSpirit/rust_calculator
[INFO] tweaked toml for git repo https://github.com/GrSpirit/rust_calculator written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/GrSpirit/rust_calculator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a44b5a5ef53b27ca8a476493360cd40501d038a9408c57da9cb73c8a35328d9c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a44b5a5ef53b27ca8a476493360cd40501d038a9408c57da9cb73c8a35328d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a44b5a5ef53b27ca8a476493360cd40501d038a9408c57da9cb73c8a35328d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a44b5a5ef53b27ca8a476493360cd40501d038a9408c57da9cb73c8a35328d9c", kill_on_drop: false }`
[INFO] [stdout] a44b5a5ef53b27ca8a476493360cd40501d038a9408c57da9cb73c8a35328d9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5ded4946c3622d51259f3ce35baef1970a800213de6ae276bf4375dfa0acfdf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e5ded4946c3622d51259f3ce35baef1970a800213de6ae276bf4375dfa0acfdf", kill_on_drop: false }`
[INFO] [stderr]     Checking calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     input.trim_right().to_string()
[INFO] [stdout]   |           ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     input.trim_right().to_string()
[INFO] [stdout]   |           ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variables`
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let variables = tokens.iter().filter(|x| match x { Token::Operand(op) => match op { Operand::Variable(_) => true, _=> false}, _=> fal...
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let mut root = build_tree(tokens.as_slice());
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new(t: Token) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variables`
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let variables = tokens.iter().filter(|x| match x { Token::Operand(op) => match op { Operand::Variable(_) => true, _=> false}, _=> fal...
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let mut root = build_tree(tokens.as_slice());
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new(t: Token) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "e5ded4946c3622d51259f3ce35baef1970a800213de6ae276bf4375dfa0acfdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5ded4946c3622d51259f3ce35baef1970a800213de6ae276bf4375dfa0acfdf", kill_on_drop: false }`
[INFO] [stdout] e5ded4946c3622d51259f3ce35baef1970a800213de6ae276bf4375dfa0acfdf
